package com.fearless.crm.workbench.service;

import com.fearless.crm.workbench.entity.Tran;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface TranService {
    boolean saveTranService(Tran tran, String customerName);

    Map<String, Object> showTranListService(Tran tran);

    Tran getTranByIdService(String id);

    boolean changeTranStage(Tran tran);

    Map<String, Object> getChartsService();

    List<Tran> getTransactionList(String id);
}
